<div ng-controller="mainController">
    {{ test }}
</div>